package com.tongfusoft.document.entity;

import javax.persistence.Entity;

import com.tongfusoft.spring.web.core.data.BaseData;

@Entity
public class FileFragments extends BaseData {
	   /**
	 
	*/
	private String md5;
	/**
	 
	*/
	private int chunks;
	/**
	 
	*/
	private int chunk;
	/**
	 
	*/
	private String path;
	/**
	 
	*/
	private String fileName;
	/**
	 
	*/
	private String guid;
	/**
	 
	*/
	private String ext;
	/**
	 
	*/
	private String id;
	 
	     
	    @Override
	    public String getPkName() {
	        return "id";
	    }


		public String getMd5() {
			return md5;
		}


		public void setMd5(String md5) {
			this.md5 = md5;
		}


		public int getChunks() {
			return chunks;
		}


		public void setChunks(int chunks) {
			this.chunks = chunks;
		}


		public int getChunk() {
			return chunk;
		}


		public void setChunk(int chunk) {
			this.chunk = chunk;
		}


		public String getPath() {
			return path;
		}


		public void setPath(String path) {
			this.path = path;
		}


		public String getFileName() {
			return fileName;
		}


		public void setFileName(String fileName) {
			this.fileName = fileName;
		}


		public String getGuid() {
			return guid;
		}


		public void setGuid(String guid) {
			this.guid = guid;
		}


		public String getExt() {
			return ext;
		}


		public void setExt(String ext) {
			this.ext = ext;
		}


		public String getId() {
			return id;
		}


		public void setId(String id) {
			this.id = id;
		}

	
}
